package punctuatedEquilibrium;

public class ArrayDuplicator {

	public static Trait[] duplicate(Trait[] traits) {
		int arrayLength = traits.length;
		Trait[] duplicate = new Trait[arrayLength];
		for (int i = 0; i < arrayLength; i++) {
			duplicate[i] = traits[i].duplicate();
		}
		return duplicate;
	}

}
